package vip.xiaonuo.h5.royalty.modular.my.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.Data;
import vip.xiaonuo.biz.modular.org.entity.BizOrg;
import vip.xiaonuo.h5.royalty.system.station.entity.H5Station;

import java.math.BigDecimal;

/**
 * 入账记录数据项
 */
@Data
public class IncomeRecordVo implements TransPojo {

    /**
     * 翻译id
     */
    @JsonIgnore
    private String id;

    /**
     * 分润统计表主键ID
     */
    private String profitStatisticId;

    /**
     * 运营商ID
     */
    @JsonIgnore
    @Trans(type = TransType.SIMPLE, target = BizOrg.class, fields = "name", ref = "orgName")
    private String orgId;

    /**
     * 运营商名称
     */
    private String orgName;

    /**
     * 充电站ID
     */
    @JsonIgnore
    @Trans(type = TransType.SIMPLE, target = H5Station.class, fields = "name", ref = "stationName")
    private String stationId;

    /**
     * 充电站名称
     */
    private String stationName;

    /**
     * 入账时间
     */
    private String inComeTime;

    /**
     * 总服务费
     */
    private BigDecimal serviceFeeTotal;

    /**
     * 订单数量
     */
    private Integer ordersCount;

    /**
     * 分润比例
     */
    private BigDecimal shareRatio;

    /**
     * 实际收入
     */
    private BigDecimal actualIncome;
}